package com.doubi.model.sys;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 服务者
 *
 * @author MrDoubi
 * @since 2020-03-17
 */
@Data
@TableName("t_service_provider")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TServiceProvider extends Model<TServiceProvider> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.UUID)

    private String oid;


    @Override
    protected Serializable pkVal() {
        return this.oid;
    }

    @TableField("user_oid")

    private String userOid;
    @TableField("is_hot")

    private Integer isHot;


    /**
     * 1酒店 2.摄影师3.摄像4.化妆 5.主持人
     */
    @TableField("type")

    private Integer type;


    @TableField("name")

    private String name;


    @TableField("lable")

    private String lable;


    /**
     * 介绍
     */
    @TableField("introduce")

    private String introduce;


    @TableField("video_url")

    private String videoUrl;


    @TableField("video_length")

    private String videoLength;
    @TableField("video_img")

    private String videoImg;


    @TableField("img_urls")

    private String imgUrls;


    @TableField("details")

    private String details;


    @TableField("update_time")

    private Date updateTime;


    @TableField("create_time")

    private Date createTime;


    @TableField("price")

    private BigDecimal price;


    /**
     * 星级
     */
    @TableField("star_class")

    private Integer starClass;


    /**
     * 评论条数
     */
    @TableField("comment_count")

    private Integer commentCount;


    @TableField("phone")

    private String phone;


    @TableField("earnest_money")

    private BigDecimal earnestMoney;

}